import { HttpMethodsTD, HttpConfig } from '@/http/types';

export const ApiLogin = new HttpConfig({
  name: 'mainApiLogin',
  method: HttpMethodsTD.POST,
  url: '/login/:code',
});

export interface ApiLoginTd {
  data: {
    username: string;
    password: string;
  };
  params: {
    code: string;
  };
}
